Imports

Define Parameters and Variables

Tonic of the file is at D4, which is 293.66 Hz

We load only the relevant part of the audio file here. Audio is loaded in mono, and sample rate is unchanged.
The frequencies sung are extracted using a software called Praat.

Use the stereo mix audio to find the values of the spectogram

Play the audio being analysed

Plotting the pitch contour. Matras are marked with a vertical line - solid line indicating a vibhaag and dotted line indicating a matra; and the cycle number is noted in a box at the bottom of the line.

Plot with Hz on y-axis

Play the audio being analysed

Plot with Cents on the y-axis